3.106 \(\int \frac{d+e x+f x^2+g x^3}{\left (a+b x^2+c x^4\right )^{3/2}} \, dx\)

Optimal. Leaf size=447 \[ \frac{\sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (b d-2 a f) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{a^{3/4} \left (b^2-4 a c\right ) \sqrt{a+b x^2+c x^4}}-\frac{\left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\sqrt{c} d-\sqrt{a} f\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 a^{3/4} \sqrt [4]{c} \left (b-2 \sqrt{a} \sqrt{c}\right ) \sqrt{a+b x^2+c x^4}}-\frac{\sqrt{c} x \sqrt{a+b x^2+c x^4} (b d-2 a f)}{a \left (b^2-4 a c\right ) \left (\sqrt{a}+\sqrt{c} x^2\right )}+\frac{x \left (c x^2 (b d-2 a f)-a b f-2 a c d+b^2 d\right )}{a \left (b^2-4 a c\right ) \sqrt{a+b x^2+c x^4}}-\frac{-2 a g+x^2 (2 c e-b g)+b e}{\left (b^2-4 a c\right ) \sqrt{a+b x^2+c x^4}} \]

[Out]

(x*(b^2*d - 2*a*c*d - a*b*f + c*(b*d - 2*a*f)*x^2))/(a*(b^2 - 4*a*c)*Sqrt[a + b*
x^2 + c*x^4]) - (b*e - 2*a*g + (2*c*e - b*g)*x^2)/((b^2 - 4*a*c)*Sqrt[a + b*x^2
+ c*x^4]) - (Sqrt[c]*(b*d - 2*a*f)*x*Sqrt[a + b*x^2 + c*x^4])/(a*(b^2 - 4*a*c)*(
Sqrt[a] + Sqrt[c]*x^2)) + (c^(1/4)*(b*d - 2*a*f)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a
 + b*x^2 + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticE[2*ArcTan[(c^(1/4)*x)/a^(1
/4)], (2 - b/(Sqrt[a]*Sqrt[c]))/4])/(a^(3/4)*(b^2 - 4*a*c)*Sqrt[a + b*x^2 + c*x^
4]) - ((Sqrt[c]*d - Sqrt[a]*f)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a + b*x^2 + c*x^4)/
(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticF[2*ArcTan[(c^(1/4)*x)/a^(1/4)], (2 - b/(Sqrt
[a]*Sqrt[c]))/4])/(2*a^(3/4)*(b - 2*Sqrt[a]*Sqrt[c])*c^(1/4)*Sqrt[a + b*x^2 + c*
x^4])

_______________________________________________________________________________________

Rubi [A]  time = 0.755931, antiderivative size = 447, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.219 \[ \frac{\sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (b d-2 a f) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{a^{3/4} \left (b^2-4 a c\right ) \sqrt{a+b x^2+c x^4}}-\frac{\left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\sqrt{c} d-\sqrt{a} f\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 a^{3/4} \sqrt [4]{c} \left (b-2 \sqrt{a} \sqrt{c}\right ) \sqrt{a+b x^2+c x^4}}-\frac{\sqrt{c} x \sqrt{a+b x^2+c x^4} (b d-2 a f)}{a \left (b^2-4 a c\right ) \left (\sqrt{a}+\sqrt{c} x^2\right )}+\frac{x \left (c x^2 (b d-2 a f)-a b f-2 a c d+b^2 d\right )}{a \left (b^2-4 a c\right ) \sqrt{a+b x^2+c x^4}}-\frac{-2 a g+x^2 (2 c e-b g)+b e}{\left (b^2-4 a c\right ) \sqrt{a+b x^2+c x^4}} \]

Antiderivative was successfully verified.

[In]  Int[(d + e*x + f*x^2 + g*x^3)/(a + b*x^2 + c*x^4)^(3/2),x]

[Out]

(x*(b^2*d - 2*a*c*d - a*b*f + c*(b*d - 2*a*f)*x^2))/(a*(b^2 - 4*a*c)*Sqrt[a + b*
x^2 + c*x^4]) - (b*e - 2*a*g + (2*c*e - b*g)*x^2)/((b^2 - 4*a*c)*Sqrt[a + b*x^2
+ c*x^4]) - (Sqrt[c]*(b*d - 2*a*f)*x*Sqrt[a + b*x^2 + c*x^4])/(a*(b^2 - 4*a*c)*(
Sqrt[a] + Sqrt[c]*x^2)) + (c^(1/4)*(b*d - 2*a*f)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a
 + b*x^2 + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticE[2*ArcTan[(c^(1/4)*x)/a^(1
/4)], (2 - b/(Sqrt[a]*Sqrt[c]))/4])/(a^(3/4)*(b^2 - 4*a*c)*Sqrt[a + b*x^2 + c*x^
4]) - ((Sqrt[c]*d - Sqrt[a]*f)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a + b*x^2 + c*x^4)/
(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticF[2*ArcTan[(c^(1/4)*x)/a^(1/4)], (2 - b/(Sqrt
[a]*Sqrt[c]))/4])/(2*a^(3/4)*(b - 2*Sqrt[a]*Sqrt[c])*c^(1/4)*Sqrt[a + b*x^2 + c*
x^4])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 124.925, size = 435, normalized size = 0.97 \[ \frac{\sqrt{c} x \left (2 a f - b d\right ) \sqrt{a + b x^{2} + c x^{4}}}{a \left (\sqrt{a} + \sqrt{c} x^{2}\right ) \left (- 4 a c + b^{2}\right )} + \frac{x \left (- a b f - 2 a c d + b^{2} d - c x^{3} \left (2 a g - b e\right ) - c x^{2} \left (2 a f - b d\right ) + x \left (- a b g - 2 a c e + b^{2} e\right )\right )}{a \left (- 4 a c + b^{2}\right ) \sqrt{a + b x^{2} + c x^{4}}} + \frac{\left (2 a g - b e\right ) \sqrt{a + b x^{2} + c x^{4}}}{a \left (- 4 a c + b^{2}\right )} - \frac{\sqrt [4]{c} \sqrt{\frac{a + b x^{2} + c x^{4}}{\left (\sqrt{a} + \sqrt{c} x^{2}\right )^{2}}} \left (\sqrt{a} + \sqrt{c} x^{2}\right ) \left (2 a f - b d\right ) E\left (2 \operatorname{atan}{\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}} \right )}\middle | \frac{1}{2} - \frac{b}{4 \sqrt{a} \sqrt{c}}\right )}{a^{\frac{3}{4}} \left (- 4 a c + b^{2}\right ) \sqrt{a + b x^{2} + c x^{4}}} + \frac{\sqrt{\frac{a + b x^{2} + c x^{4}}{\left (\sqrt{a} + \sqrt{c} x^{2}\right )^{2}}} \left (\sqrt{a} + \sqrt{c} x^{2}\right ) \left (\sqrt{a} \left (b f - 2 c d\right ) + \sqrt{c} \left (2 a f - b d\right )\right ) F\left (2 \operatorname{atan}{\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}} \right )}\middle | \frac{1}{2} - \frac{b}{4 \sqrt{a} \sqrt{c}}\right )}{2 a^{\frac{3}{4}} \sqrt [4]{c} \left (- 4 a c + b^{2}\right ) \sqrt{a + b x^{2} + c x^{4}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((g*x**3+f*x**2+e*x+d)/(c*x**4+b*x**2+a)**(3/2),x)

[Out]

sqrt(c)*x*(2*a*f - b*d)*sqrt(a + b*x**2 + c*x**4)/(a*(sqrt(a) + sqrt(c)*x**2)*(-
4*a*c + b**2)) + x*(-a*b*f - 2*a*c*d + b**2*d - c*x**3*(2*a*g - b*e) - c*x**2*(2
*a*f - b*d) + x*(-a*b*g - 2*a*c*e + b**2*e))/(a*(-4*a*c + b**2)*sqrt(a + b*x**2
+ c*x**4)) + (2*a*g - b*e)*sqrt(a + b*x**2 + c*x**4)/(a*(-4*a*c + b**2)) - c**(1
/4)*sqrt((a + b*x**2 + c*x**4)/(sqrt(a) + sqrt(c)*x**2)**2)*(sqrt(a) + sqrt(c)*x
**2)*(2*a*f - b*d)*elliptic_e(2*atan(c**(1/4)*x/a**(1/4)), 1/2 - b/(4*sqrt(a)*sq
rt(c)))/(a**(3/4)*(-4*a*c + b**2)*sqrt(a + b*x**2 + c*x**4)) + sqrt((a + b*x**2
+ c*x**4)/(sqrt(a) + sqrt(c)*x**2)**2)*(sqrt(a) + sqrt(c)*x**2)*(sqrt(a)*(b*f -
2*c*d) + sqrt(c)*(2*a*f - b*d))*elliptic_f(2*atan(c**(1/4)*x/a**(1/4)), 1/2 - b/
(4*sqrt(a)*sqrt(c)))/(2*a**(3/4)*c**(1/4)*(-4*a*c + b**2)*sqrt(a + b*x**2 + c*x*
*4))

_______________________________________________________________________________________

Mathematica [C]  time = 2.77069, size = 513, normalized size = 1.15 \[ -\frac{4 \sqrt{\frac{c}{\sqrt{b^2-4 a c}+b}} \left (-2 a^2 g+a b (e+x (f-g x))+2 a c x (d+x (e+f x))-b d x \left (b+c x^2\right )\right )-i \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}+b}} \sqrt{\frac{-2 \sqrt{b^2-4 a c}+2 b+4 c x^2}{b-\sqrt{b^2-4 a c}}} \left (b d \sqrt{b^2-4 a c}-2 a f \sqrt{b^2-4 a c}+4 a c d+b^2 (-d)\right ) F\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{\frac{c}{b+\sqrt{b^2-4 a c}}} x\right )|\frac{b+\sqrt{b^2-4 a c}}{b-\sqrt{b^2-4 a c}}\right )+i \left (\sqrt{b^2-4 a c}-b\right ) \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}+b}} \sqrt{\frac{-2 \sqrt{b^2-4 a c}+2 b+4 c x^2}{b-\sqrt{b^2-4 a c}}} (b d-2 a f) E\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{\frac{c}{b+\sqrt{b^2-4 a c}}} x\right )|\frac{b+\sqrt{b^2-4 a c}}{b-\sqrt{b^2-4 a c}}\right )}{4 a \left (b^2-4 a c\right ) \sqrt{\frac{c}{\sqrt{b^2-4 a c}+b}} \sqrt{a+b x^2+c x^4}} \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e*x + f*x^2 + g*x^3)/(a + b*x^2 + c*x^4)^(3/2),x]

[Out]

-(4*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*(-2*a^2*g - b*d*x*(b + c*x^2) + 2*a*c*x*(d +
 x*(e + f*x)) + a*b*(e + x*(f - g*x))) + I*(-b + Sqrt[b^2 - 4*a*c])*(b*d - 2*a*f
)*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[(2*b - 2*
Sqrt[b^2 - 4*a*c] + 4*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*EllipticE[I*ArcSinh[Sqrt[2
]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*
a*c])] - I*(-(b^2*d) + 4*a*c*d + b*Sqrt[b^2 - 4*a*c]*d - 2*a*Sqrt[b^2 - 4*a*c]*f
)*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[(2*b - 2*
Sqrt[b^2 - 4*a*c] + 4*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*EllipticF[I*ArcSinh[Sqrt[2
]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*
a*c])])/(4*a*(b^2 - 4*a*c)*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[a + b*x^2 + c*x^
4])

_______________________________________________________________________________________

Maple [B]  time = 0.009, size = 1005, normalized size = 2.3 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((g*x^3+f*x^2+e*x+d)/(c*x^4+b*x^2+a)^(3/2),x)

[Out]

d*(-2*c*(1/2*b/a/(4*a*c-b^2)*x^3-1/2*(2*a*c-b^2)/a/(4*a*c-b^2)/c*x)/((x^4+b/c*x^
2+1/c*a)*c)^(1/2)+1/4*(1/a-(2*a*c-b^2)/a/(4*a*c-b^2))*2^(1/2)/((-b+(-4*a*c+b^2)^
(1/2))/a)^(1/2)*(4-2*(-b+(-4*a*c+b^2)^(1/2))/a*x^2)^(1/2)*(4+2*(b+(-4*a*c+b^2)^(
1/2))/a*x^2)^(1/2)/(c*x^4+b*x^2+a)^(1/2)*EllipticF(1/2*x*2^(1/2)*((-b+(-4*a*c+b^
2)^(1/2))/a)^(1/2),1/2*(-4+2*b*(b+(-4*a*c+b^2)^(1/2))/a/c)^(1/2))-1/2*b/(4*a*c-b
^2)*c*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))/a)^(1/2)*(4-2*(-b+(-4*a*c+b^2)^(1/2))/a*x
^2)^(1/2)*(4+2*(b+(-4*a*c+b^2)^(1/2))/a*x^2)^(1/2)/(c*x^4+b*x^2+a)^(1/2)/(b+(-4*
a*c+b^2)^(1/2))*(EllipticF(1/2*x*2^(1/2)*((-b+(-4*a*c+b^2)^(1/2))/a)^(1/2),1/2*(
-4+2*b*(b+(-4*a*c+b^2)^(1/2))/a/c)^(1/2))-EllipticE(1/2*x*2^(1/2)*((-b+(-4*a*c+b
^2)^(1/2))/a)^(1/2),1/2*(-4+2*b*(b+(-4*a*c+b^2)^(1/2))/a/c)^(1/2))))+e*(2*c*x^2+
b)/(4*a*c-b^2)/(c*x^4+b*x^2+a)^(1/2)+f*(-2*c*(-1/(4*a*c-b^2)*x^3-1/2*b/(4*a*c-b^
2)/c*x)/((x^4+b/c*x^2+1/c*a)*c)^(1/2)-1/4*b/(4*a*c-b^2)*2^(1/2)/((-b+(-4*a*c+b^2
)^(1/2))/a)^(1/2)*(4-2*(-b+(-4*a*c+b^2)^(1/2))/a*x^2)^(1/2)*(4+2*(b+(-4*a*c+b^2)
^(1/2))/a*x^2)^(1/2)/(c*x^4+b*x^2+a)^(1/2)*EllipticF(1/2*x*2^(1/2)*((-b+(-4*a*c+
b^2)^(1/2))/a)^(1/2),1/2*(-4+2*b*(b+(-4*a*c+b^2)^(1/2))/a/c)^(1/2))+c/(4*a*c-b^2
)*a*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))/a)^(1/2)*(4-2*(-b+(-4*a*c+b^2)^(1/2))/a*x^2
)^(1/2)*(4+2*(b+(-4*a*c+b^2)^(1/2))/a*x^2)^(1/2)/(c*x^4+b*x^2+a)^(1/2)/(b+(-4*a*
c+b^2)^(1/2))*(EllipticF(1/2*x*2^(1/2)*((-b+(-4*a*c+b^2)^(1/2))/a)^(1/2),1/2*(-4
+2*b*(b+(-4*a*c+b^2)^(1/2))/a/c)^(1/2))-EllipticE(1/2*x*2^(1/2)*((-b+(-4*a*c+b^2
)^(1/2))/a)^(1/2),1/2*(-4+2*b*(b+(-4*a*c+b^2)^(1/2))/a/c)^(1/2))))-g/(c*x^4+b*x^
2+a)^(1/2)*(b*x^2+2*a)/(4*a*c-b^2)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{g x^{3} + f x^{2} + e x + d}{{\left (c x^{4} + b x^{2} + a\right )}^{\frac{3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((g*x^3 + f*x^2 + e*x + d)/(c*x^4 + b*x^2 + a)^(3/2),x, algorithm="maxima")

[Out]

integrate((g*x^3 + f*x^2 + e*x + d)/(c*x^4 + b*x^2 + a)^(3/2), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{g x^{3} + f x^{2} + e x + d}{{\left (c x^{4} + b x^{2} + a\right )}^{\frac{3}{2}}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((g*x^3 + f*x^2 + e*x + d)/(c*x^4 + b*x^2 + a)^(3/2),x, algorithm="fricas")

[Out]

integral((g*x^3 + f*x^2 + e*x + d)/(c*x^4 + b*x^2 + a)^(3/2), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{d + e x + f x^{2} + g x^{3}}{\left (a + b x^{2} + c x^{4}\right )^{\frac{3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((g*x**3+f*x**2+e*x+d)/(c*x**4+b*x**2+a)**(3/2),x)

[Out]

Integral((d + e*x + f*x**2 + g*x**3)/(a + b*x**2 + c*x**4)**(3/2), x)

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: RuntimeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((g*x^3 + f*x^2 + e*x + d)/(c*x^4 + b*x^2 + a)^(3/2),x, algorithm="giac")

[Out]

Exception raised: RuntimeError